package com.ctshk.rpc.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品属性表
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_commodity_attribute")
@ApiModel(value="CommodityAttribute对象", description="商品属性表")
public class CommodityAttribute extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "规格类型：1：单规格；2：多规格")
    private Integer specificationsType;

    @ApiModelProperty(value = "分销佣金设置：	1：默认设置；2：单独设置")
    private Integer distributionCommissionSettings;

    @ApiModelProperty(value = "币种id")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "兑换率")
    private Double exchangeRate;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
